package com.ld.control.business.sample.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 设备字段配置
 * </p>
 *
 * @author wangfeng
 * @since 2025-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sample_data_show_config")
@Schema(description = "SampleDataShowConfigModel对象")
public class SampleDataShowConfigModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "设备id")
    private Long equipmentId;

    @Schema(description = "标题名称")
    private String title;

    @Schema(description = "标题上单位")
    private String titleUnit;

    @Schema(description = "排序值")
    private Integer sort;

    @Schema(description = "备注")
    private String remark;


    public static final String ID = "id";

    public static final String EQUIPMENT_ID = "equipment_id";

    public static final String TITLE = "title";

    public static final String TITLE_UNIT = "title_unit";

    public static final String SORT = "sort";

    public static final String REMARK = "remark";

}
